        
        
        var animate = null;
        $(document).ready(function(){
            /*if(window.history.length == 1 || window.performance.navigation.type == 1){
                animateDelayCount = 2200;
            }else{
                animateDelayCount = 550;
            }*/
            var animations = [];
            for(var l = 0;l < $('.ready').length;l++){
                $('.ready')[l].ind = l;
                animations.push($('.ready')[l]);
            }
            animate = setInterval(function(){
                if(beginningDelay != null){
                    beginningDelay += 10;
                    if(beginningDelay <= animateDelayCount) return false;
                }
                if(window.innerWidth > 1024) return false; 
        
                for(var r = 0;r < animations.length;r++){
                    var judgeHalf = animations[r].className.indexOf('overHalf') >= 0?true:false;
                    var ele_h = judgeHalf?0:animations[r].offsetHeight;
                    var ele_top = judgeHalf?((animations[r].offsetHeight / 2) + animations[r].offsetTop):animations[r].offsetTop;
                    var window_h = window.innerHeight;
                    var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
                    if((/*ele_top > window_h && */
                        //
                        ele_top < window_h + scrollTop)
                        &&
                        (ele_h + ele_top > scrollTop)
                        ||
                        (ele_top < window_h && scrollTop < ele_top)){
                            var ind = animations[r].ind;
                            $('.ready:eq(' + ind +')').addClass('frozen'); 
                    }
                }
            },10);
            
        }) 